package org.millioncall.yueyoga.admin.model;

import java.util.List;

import org.millioncall.yueyoga.admin.model.base.BaseUserDetail;

public class UserDetail extends BaseUserDetail {
	private static final long serialVersionUID = 643445309646199097L;

	// 返回字符串形式的兴趣圈子
	public String getStrInterest() {
		List<String> interest = this.getInterest();
		if(interest == null || interest.size() == 0) {
			return null;
		} else {
			String rtn = "";
			for (String temp : interest) {
				rtn += temp + ",";
			}
			rtn = rtn.substring(0, rtn.length() - 1);
			return rtn;
		}
	}
}
